import request from '@/utils/request'

// 查询流程定义列表
export function listFlow(query) {
    return request({
      url: '/flow/define',
      method: 'get',
      params: query
    })
  }

// 查询流程定义(ID)
export function getFlow(id) {
  return request({
    url: '/flow/define/' + id,
    method: 'get'
  })
}

// 查询审核指派列表
export function getFlowAssign(query) {
  return request({
    url: '/flow/assign',
    method: 'get',
    params: query
  })
}